home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 05 - 1989 / 05.09 Sep 89 / MacApp Code / Plot - Nelson / UExtendedText Resource Defines < prev    next >
Encoding:
C/C++ Source or Header  |  1988-11-20  |  730 b   |  24 lines  |  [TEXT/MPS ]

  1.  
  2. /* R e s o u r c e   D e f i n i t i o n s                            */
  3.  
  4. /* Add the following lines in the DEFINE portion of the view.r file.  */
  5.  
  6.  #define TEXTENDEDTEXTDATA \
  7.      /* Minimum value    */        longint;                            \    
  8.      /* Maximum value    */        longint;                            \    
  9.      /* Precision        */        Integer;                            \    
  10.      /* Initial value    */        pstring;                            \    
  11.                                     align word                                
  12.  
  13. /* Now add the following after the the 'Case NumberText:' block        */
  14.  
  15.         case ExtendedText:
  16.             key literal longint = 'xnum';    /* Template signature    */    
  17.             pstring;                                /* Class name                */    
  18.             align word;                                                    
  19.                                                                             
  20.             TCONTROLDATA;                                                
  21.             TSTATICTEXTDATA;                                            
  22.             TEDITTEXTDATA;                                                
  23.             TEXTENDEDTEXTDATA;                                        
  24.